/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-11-11
*/
package com.rzico.picture.entity;

import lombok.Data;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   素材管理数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_picture")
public class Picture{
    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected java.util.Date modifyDate;

    @ApiModelProperty(value = "素材名称" )
    protected String name;

    @ApiModelProperty(value = "素材地址" )
    protected String url;

    @ApiModelProperty(value = "类型(0.箱号 1.封号 2.柜号)" )
    protected Integer type;

    @ApiModelProperty(value = "位置X" )
    protected Integer px;

    @ApiModelProperty(value = "位置Y" )
    protected Integer py;

    @ApiModelProperty(value = "转行" )
    protected Integer rw;

    @ApiModelProperty(value = "角度" )
    protected Integer angle;

    @ApiModelProperty(value = "透明度" )
    protected Double alpha;

    @ApiModelProperty(value = "方向(0.横向,1.竖向)" )
    protected Integer dv;

    @ApiModelProperty(value = "字体大小" )
    protected Integer fontSize;

    @ApiModelProperty(value = "字体色" )
    protected String fontColor;

    @ApiModelProperty(value = "分类" )
    protected Long pictureCategoryId;

    @JsonIgnore
    @ApiModelProperty(value = "创建者" ,hidden = true )
    protected String createBy;

    @JsonIgnore
    @ApiModelProperty(value = "更新者" ,hidden = true )
    protected String modifyBy;

    @ApiModelProperty(value = "附加字段" )
    protected String attch;

    @ApiModelProperty(value = "缩放比例" )
    protected Double zoom;
}
